Skip to main content

All Questions

Tagged with
4votes
0answers
161views

Just a digital clock in Swing

I've written a little clock implementation in Java Swing. It now seems to work flawlessly after having terrible Swing specific timing problems. Please indicate if this is the way to draw the clock and ...
Maarten Bodewes's user avatar
2votes
1answer
2kviews

Timer in Java with GUI

I have created a timer with GUI in Java. Here's the code: ...
user avatar
4votes
1answer
4kviews

Full screen countdown display

As a part of a bigger application, I wrote code which creates a display for a countdown of a given time. It is nothing fancy, but I would still appreciate a review. I am especially concerned about: ...
m.cekiera's user avatar
2votes
2answers
1kviews

Timer for a Java game

I have a simple game that implements a TimerTask. However, when there's a popup using JOptionPane the timer task doesn't seem to ...
Algebra is Awesome's user avatar
7votes
1answer
703views

Pausing a SwingWorker with a Timer

I made a SwingWorker which is fetching tweets using the twitter4j API. The twitter API will allow 180 queries every 15 minutes, and then throw an exception with ...
Aki K's user avatar
  • 1,329
4votes
1answer
347views

Inefficient Stopwatch - revised

This is my revised code of Stopwatch: ...
TheCoffeeCup's user avatar
5votes
1answer
276views

Inefficient Stopwatch

I have just finished a simple GUI stopwatch, but some of its code looks like it needs replacing. This is the code: Clock class (extends Thread): ...
TheCoffeeCup's user avatar
7votes
1answer
10kviews

Simple stop watch

I'd like my code to be solid and good. That's why I want someone a little more experienced to give me some feedback so I can improve. Here is the code for a simple stop watch that I created. I feel ...
user3641882's user avatar
6votes
2answers
12kviews

Java GUI code with Swing Timer

I have the following questions for the below code: Is there a simpler implementation of an on-screen counter? I made CountTimer inner class since it's tightly ...
PM 77-1's user avatar

close